<?php

namespace App\Models;

class OnlineLogsModel extends BaseModel
{
    /**
     * 与模型关联的数据表。
     *
     * @var string
     */
    protected $table = 'online_logs';

    /**
     * 可以被批量赋值的属性。
     *
     * @var array
     */
    protected $fillable = array(
        "id", "ordersno", "product_id", "product_name", "goods_id", "goods_name", "number", "online", "online_at", "created_at", "created_by", "md5sum"
    );

    // public $timestamps = false;


    /**
     * 查询数据需要过滤掉的属性。
     *
     * @var array
     */

    protected $hidden = array(
        'updated_at'
    );
}
